import request from "@/utils/request";

export function processIllness(data) {
  return request({
    url: "/illness/info/audit",
    method: "post",
    data,
  });
}
export function getIllnessList(params) {
  return request({
    url: "/illness/info/list",
    method: "get",
    params,
  });
}
export function publishIllness(data) {
  return request({
    url: "/illness/info/publish",
    method: "post",
    data,
  });
}
export function uploadImg(data) {
  return request({
    url: "/illness/info/uploadImg",
    method: "post",
    data,
  });
}
